package com.neuedu.helloworld.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.util.Log;

import androidx.annotation.RequiresApi;

public class ConnectionBroadcastReceiver  extends BroadcastReceiver {


    @Override
    public void onReceive(Context context, Intent intent) {

        if("com.neuedu.SelfAction".equals(intent.getAction())){
           String smg =  intent.getStringExtra("smg");
            //intent

            Log.d("onReceive","网络发生变化了");
            Log.d("onReceive","网络发生变化了");
        }




    }


}
